let express = require('express')
let info = require('../controller/info')
let router = express.Router()

router.get('/getInfo', function (req,res){
	info.getInfo(req,res);
});

router.post('/update', function (req,res){
	info.update(req,res);
});

router.post('/add', function (req,res){
	info.add(req,res);
});

router.get('/delete', function (req,res){
	info.delete(req,res);
});



module.exports = router 

